﻿using System;
using System.Collections;
using Portal.Core.Binding.FormBuilder;
using Portal.Data.Entity;
using Portal.Data.Webparts;

namespace Portal.Data.Config
{
    [Serializable]
    public class TypeSelectConfig : WebpartConfig
    {
        public TypeSelectConfig()
        {
            Max = 30;
        }

        [Lookup(DataSource = "ListAll", DisplayField = "FullName", Type = typeof(HistoryType))]
        public int Type { get; set; }

        [Builder(Title = "Số lượng hiển thị")]
        public int Max { get; set; }
    }
}
